package com.atguigu.dao;

import com.atguigu.base.BaseDao;
import com.atguigu.entity.UserFollow;
import com.atguigu.entity.UserInfo;
import com.atguigu.vo.UserFollowVo;
import com.github.pagehelper.Page;
import org.apache.ibatis.annotations.Param;

/**
 * @ClassName UserInfoDao
 * @Description 此类描述:
 * @Author dangchen
 * @DateTime 2022-08-29 18:17
 * @Version 1.0
 */
public interface UserFollowDao extends BaseDao<UserFollow> {

    int isFollow(@Param("userId") Long userId,@Param("houseId") Long houseId);

    Page<UserFollowVo> findListPage(Long userId);
}
